package com.woniuxy.light_smart.service;

import com.woniuxy.light_smart.dto.PollingDto;
import com.woniuxy.light_smart.entity.Inspection;
import com.woniuxy.light_smart.vo.PollingVo;

import java.util.List;

/**
 * @author ：fengsir
 * @date ：Created in 2022/12/6 20:04
 * @description：
 * @modified By：
 * @version: $
 */
public interface InspectionService {
    int deleteByPrimaryKey(Long id);

    int insert(Inspection record);

    int insertSelective(Inspection record);

    Inspection selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Inspection record);

    int updateByPrimaryKey(Inspection record);

    List<PollingVo> selectAll();

    List<PollingVo> selectByLike(PollingDto pollingDto);
}
